package ex4;

import ned.DatarateChannel;
import inet.networklayer.autorouting.FlatNetworkConfigurator;
import inet.nodes.inet.StandardHost;
import inet.nodes.inet.StandardHostWithDLThruputMeter;


@license(LGPL);
//
// TODO documentation
//
network Network
{
    @display("bgb=397,135");
    submodules:
        client: StandardHost {
            @display("p=74,103");
        }
        server: StandardHostWithDLThruputMeter {
            @display("p=279,103");
        }
        flatNetworkConfigurator: FlatNetworkConfigurator {
            @display("p=167,16");
        }
    connections:
        client.pppg++ <--> {  delay = 200ms; datarate = 1 Mbps; ber = 10e-7; } <--> server.pppg++;
}

